classdef Metricable < BatHandle
    %METRICABLE Summary of this class goes here
    %   Detailed explanation goes here
    
    properties ( SetAccess = protected )
        metric
    end
    
    methods
        function [  ] = setMetric( this, metric )
            %SETMETRIC Summary of this function goes here
            %   Detailed explanation goes here
            % Metricalbe::
            
            if nargin == 1
                this.metric = Metric();
            end
            
            if nargin == 2
                assert(isa(metric, 'Metric'));
                this.metric = metric;
            end
        end
    end
    
    methods
        function [ this ] = Metricable(  )
            this.setMetric(Metric());
        end
    end
    
end

